﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="MarketNewsPage.aspx.cs" Inherits="MAA.Presentation.PRL.News.MarketNewsPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/MarketNews.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="NewsInfo">
        
         <asp:Repeater ID="tblNewsInfo" runat="server">
            <ItemTemplate>
                <div class="mainTable_news">
                    <h2 class="newsType">
                        <a href="MarketNewsDetailPage.aspx?newsID=<%# Eval("ID") %>">
                            <%# Eval("Title") %></a>
                    </h2><br />
                    <div class="time">
                        <%# Eval("UpdateTime") %>
                    </div><br />
                    <div class="content_left_news">
                        <img class="picture_news" src="<%# Eval("Image") %>" alt="">
                    </div>
                    <div class="description_rice">
                        <%# Eval("BriefContent")%>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    <div class="paging">
        <asp:ImageButton ID="imgBtnFirst" runat="server" ImageUrl="~/WebData/Image/WebImage/First.png"
            CommandArgument='First' OnClick="Page_Changed" ToolTip="First" />
        <asp:ImageButton ID="imgBtnPrevious" runat="server" ImageUrl="~/WebData/Image/WebImage/Previous.png"
            CommandArgument='Previous' OnClick="Page_Changed" ToolTip="Previous" />
        <asp:Label ID="lblCurrentPage" runat="server" Text="Label"></asp:Label>
        <asp:Label ID="lblSeperate" runat="server" Text="/"></asp:Label>
        <asp:Label ID="lblTotalPage" runat="server" Text="Label"></asp:Label>
        <asp:ImageButton ID="imgBtnNext" runat="server" ImageUrl="~/WebData/Image/WebImage/Next.png"
            CommandArgument='Next' OnClick="Page_Changed" ToolTip="Next" />
        <asp:ImageButton ID="imgBtnLast" runat="server" ImageUrl="~/WebData/Image/WebImage/Last.png"
            CommandArgument='Last' OnClick="Page_Changed" ToolTip="Last" />
    </div>
</asp:Content>
